{% extends "base.html" %}

{% block menu %}
	<ul>
		<li><a href="index">Početna</a></li>
		<li class="active"><a href="projectOverview" title="">Projekti</a></li>
		<li><a href="#" title="">Upomoć</a></li>
	</ul>
{% endblock menu %}

`{% block column1 %}

	{% include "loginBox.html" %}
	{% include "projectBox.html" %}	

{% endblock column1 %}

{% block column2 %}
		{% if projects %}
			{% for project in projects %}
			<div class="boxed">
				<h2 class="title"><a href="projectDetails?name={{project.shortName}}">{{project.title}}</a></h2>
				<div class="content">
					<ul>
						<li>Status:{{project.status}}</li>
						<li>Zadnja promjena:{{project.lastChange}}</li>
					</ul>
				</div>
			</div>
			{% endfor %}
		{% else %}
			<div class="boxed">
				<h2 class="title"><a href="projectDetails?name={{project.shortName}}">{{project.title}}</a></h2>
				<div class="content">
						Nije pronađen niti jedan projekt.... Život je takav.
				</div>
			</div>		
		{% endif %}
{% endblock column2 %}


{% block column3 %}

	{% include "searchProjectBox.html" %}
	
{% endblock column3 %}